package oggetti;

import java.util.Vector;

public class Utente {

	private String username;
	private String password;
	private String nome;
	private String cognome;
	private String email;
	
	public Utente(String username, String password, String nome,
			String cognome, String email) {
		super();
		this.username = username;
		this.password = password;
		this.nome = nome;
		this.cognome = cognome;
		this.email = email;
	}
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public String getNome() {
		return nome;
	}
	public void setNome(String nome) {
		this.nome = nome;
	}
	public String getCognome() {
		return cognome;
	}
	public void setCognome(String cognome) {
		this.cognome = cognome;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public Object[] toArray() {
		Object[] tmp = new Object[5];
		tmp[0] = username;
		tmp[1] = password;
		tmp[2] = nome;
		tmp[3] = cognome;
		tmp[4] = email;
		return tmp;
	}
	
}
